/**
 * @author zhoushengtao
 * @since 2012-8-29 下午3:14:26
 */

package com.stchou.superbrowser.activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;

public class SearchActivity extends Activity
{
    private EditText m_searchEditText;
    private Button m_searchButton;
    
    private final String BAIDU_GATE = "http://gate.baidu.com/tc?from=opentc&src=";
    private final String BAIDU_SEARCH = "http://www.baidu.com/baidu?word=";
    
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_search);
        initView();
    }
    
    
    private void initView()
    {
        m_searchEditText = (EditText)findViewById(R.id.search_text);
        m_searchEditText.requestFocus();
        
        m_searchButton = (Button)findViewById(R.id.search_button);
        m_searchButton.setOnClickListener(new OnClickListener()
        {
            public void onClick(View v)
            {
                finish();
            }
        });
    }
}
